package com.bosssoft.service;

import com.bosssoft.response.Result;
import com.bosssoft.service.impl.FibBudgetFeignServiceImpl;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 项昊天
 * @create 2021/8/25 16:46
 */
@FeignClient(value = "budget-provider", fallback = FibBudgetFeignServiceImpl.class)
public interface FibBudgetFeignService {

  @PostMapping
  @ApiOperation("通过id查询预算记录")
  Result getBgtById(@RequestParam("bgtId") Long bgtId);
}
